package com.bytz.modules.cms.order.model;

import com.bytz.modules.cms.order.entity.Order;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class AdminOrderModel extends Order {

    @ApiModelProperty("订单项目")
    private List<OrderItemModel> item;

    @ApiModelProperty("毛利率")
    private BigDecimal stfMargin;

    @ApiModelProperty("是否可审批")
    private Boolean canAudit;

    @ApiModelProperty("是否可上传合同")
    private Boolean canUploadContract;

    @ApiModelProperty("是否可下载合同")
    private Boolean canDownloadContract;

    @ApiModelProperty("是否可取消订单")
    private Boolean canTerminate;

    @ApiModelProperty("ec审批流程id")
    private String ecAuditProcessId;

}